package com.ynet.middleground.riskmanage.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author songyf
 * @description 大港船期信息查询
 * @date 2020-08-19 11:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "大港船期信息查询请求信息", description = "大港船期信息查询请求信息")
public class DgShipCycleQueryReq extends BaseReqObj {

    private static final long serialVersionUID = -5261613732308338483L;
    
    @ApiModelProperty(value = "中文船名", notes = "中文船名")
    private String shipName;
       
    @ApiModelProperty(value = "英文船名", notes = "英文船名")
    private String engShipName;
    
    @ApiModelProperty(value = "航次", notes = "航次")
    private String voyage;
    
    @ApiModelProperty(value = "船号", notes = "船号", required = true)
    @NotBlank(message = "船号不能为空")
    private String shipNo;
}
